package org.whh.metadata.datasource;

import lombok.Data;

import java.io.Serializable;

/**
 * @Version v1.0
 * @Author Ryan
 * @Date 2021/7/10
 * N-G-P
 */
@Data
public abstract class AbstractDataSource implements Serializable {
    
    private static final long serialVersionUID = 202107101314L;

    private String datasourceName;

    /**
     * test this datasource is available
     * @return true or false
     */
    public abstract boolean testConnection();

}
